package com.xk.order.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;


@Data
@Table(name = "tb_order_detail")
public class OrderDetail {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    private Long orderId;// 订单id
    private Long skuId;// 商品id
    private Integer num;// 商品购买数量
    private String title;// 商品标题
    private Long price;// 商品单价
    private String ownSpec;// 商品规格数据
    private String image;// 图片


}
